#define _CRT_SECURE_NO_WARNINGS

#include <iostream>
using namespace std;

int main()
{
	int* a = new int(2);
	int* b = (int *)realloc(a, sizeof(int) * 2);

	delete b;
	return 0;
}